package com.cskaoyan.javase.oop1._15import._4unit;
// import com.cskaoyan.javase.oop1._15import._1another.Student;
/**
 * 编译单元: 简单来说,一个java文件就是一个编译单元
 * 一个编译单元内,不允许出现两个同名的类
 *
 * @since 11:54
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Demo {
    public static void main(String[] args) {
        Student s = new Student();
        s.test();
    }
}
// 'Student' is already defined in this compilation unit
class Student{
    public void test(){
        System.out.println("非public class Student");
    }
}
